//
//  BodiTextField.m
//  UI03
//
//  Created by Bodi on 16/6/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "BodiTextField.h"

@implementation BodiTextField

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(instancetype)initWithFrame:(CGRect)frame placeholder:(NSString *)placeholder {
    self = [super initWithFrame:frame];
    if (self) {
        self.placeholder =placeholder;
        self.borderStyle = UITextBorderStyleLine;
    }

    return self;

}
@end
